//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@protocol MB_MyTabBarDelegate <NSObject>
@optional;
- (void)mbSpecailButtonClickAction;

@end
//block
typedef void (^MBSetIndexBlock)(NSInteger index);//返回标签栏按钮索引

@interface MB_MyTabBar : UIView
/** */
@property (nonatomic, copy)MBSetIndexBlock block;
//创建TabBarView
- (id)initWithFrame:(CGRect)frame andTabBarButtonDictory:(NSDictionary *)dic andBlock:(MBSetIndexBlock)block;
/** */
@property (nonatomic, weak) id <MB_MyTabBarDelegate>delegate;

@end

NS_ASSUME_NONNULL_END
